<extend name="public@emptypage" />
<block name="content">
<div class="card">
	<div class="card-header card-header-primary">

    		<ul class="nav nav-tabs" data-tabs="tabs">
			<li class="nav-item">
				<a class="nav-link active" href="{:url('NavMenu/index',['nav_id'=>$nav_id])}">导航菜单</a>
			</li>
			<li class="nav-item">
				<a class="nav-link" href="{:url('NavMenu/add',['nav_id'=>$nav_id])}">添加菜单</a>
			</li>
		</ul>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div class="card-body">
			
			    <form class="js-ajax-form margin-top-20" action="{:url('NavMenu/listOrder')}" method="post">
			        <div class="table-actions">
			            <button class="btn btn-primary btn-sm js-ajax-submit" type="submit">排序</button>
			        </div>
			        <table class="table table-hover table-bordered">
			            <thead>
			            <tr>
			                <th width="50">排序</th>
			                <th width="50">ID</th>
			                <th>菜单名称</th>
			                <th width="80">状态</th>
			                <th width="180">{:lang('ACTIONS')}</th>
			            </tr>
			            </thead>
			            <tbody>
			            {$categories}
			            </tbody>
			        </table>
			    </form>

			</div>
		</div>
	</div>
</block>
<block name="script">

<script src="__STATIC__/js/admin.js"></script>

</block>